package com.reliable.service.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.reliable.service.domain.ReliableUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户列Mapper接口
 * 
 * @author ruoyi
 * @date 2025-07-09
 */
@Mapper
public interface ReliableUserMapper extends BaseMapper<ReliableUser> {

    // 根据 user_id 批量更新用户 expire_type 为 2（到期）
    int batchUpdateUserExpireType(@Param("userIds") List<Long> userIds);

}
